package gat.domain.service.tg.impl;

import com.bitsun.core.common.persistence.BasePService;
import com.bitsun.core.common.persistence.IPService;
import gat.convertor.tg.UserBotReqDtoConvertor;
import gat.convertor.tg.UserBotResDtoConvertor;
import gat.domain.service.tg.UserBotDomainService;
import gat.infrastructure.persistence.dao.tg.UserBotMapper;
import gat.infrastructure.persistence.po.tg.UserBotPo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Felix Woo （junfengwstar@gmail.com）
 * @Date: 2019-09-20 19:40
 * @Version: 1.0
 * @Description:
 */
@Slf4j
@Service("userBotDomainService")
public class UserBotDomainServiceImpl implements UserBotDomainService {

    @Autowired
    private UserBotReqDtoConvertor userBotReqDtoConvertor;

    @Autowired
    private UserBotResDtoConvertor userBotResDtoConvertor;

    private IPService<UserBotPo> userBotPoService;

    @SuppressWarnings("SpringJavaAutowiringInspection")
    public UserBotDomainServiceImpl(UserBotMapper userBotMapper) {
        this.userBotPoService = new BasePService(userBotMapper);
    }
}